package com.cheng.example.atguigu.design_pattern.strategy.imporve;

/*
 * @author 程帅
 * @createTime: 2020/10/19 13:26
 * @Created: with IntelliJ IDEA.
 */
public class WildDuck extends Duck {

    public WildDuck() {
        flyBehavior = new GoodFlyBehavior();
    }

    @Override
    public void fly() {
        flyBehavior.fly();
    }

    @Override
    public void display() {

    }
}
